﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net" default-lazy-init="true">
  <description>Deletes a file first then creates it</description>
  
  <object id="MacroToProcess" type="Macro" >
	<constructor-arg name="templateId" value="1C420832-0A41-4f65-87C6-1B62E84DF534"/>
    <constructor-arg name="actionNames">
      <list element-type="string">
        <value>SimpleAction1</value>
        <value>SimpleAction2</value>
        <value>SimpleAction3</value>
      </list>
    </constructor-arg>
  </object>

  <!-- Runs Successfully -->
  <object id="SimpleAction1" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" />

  <!-- This throws Exception on the UnDo. -->
  <object id="SimpleAction2" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionThrowExceptionOnUndo, Collaboris.Saf.Tests">
    <property name="StopOnUndoException" value="True"/>
  </object>

  <!-- Would Run Successfully but the previous Action should stop it running due to the <property name="StopOnUndoException" value="true"/> -->
  <object id="SimpleAction3" type="Collaboris.Saf.Tests.Support.Actions.SimpleActionNoException, Collaboris.Saf.Tests" />

</objects>

